package model;

public class ClassNote {
    private int userid;
    private String title;
    private String content;
    private String time;
    private int share;

    public ClassNote(int userid, String title, String content, String time, int share) {
        this.userid = userid;
        this.title = title;
        this.content = content;
        this.time = time;
        this.share = share;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getShare() {
        return share;
    }

    public void setShare(int share) {
        this.share = share;
    }

    @Override
    public String toString() {
        return "ClassNote{" +
                "userid=" + userid +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", time='" + time + '\'' +
                ", share=" + share +
                '}';
    }
}
